using System;
using System.Collections.Generic;

namespace CSP.Model.CSP
{
    [Serializable]
    public class Order
    {
        public Order()
        {
            this.CreditLines = new List<CreditLine>();
            this.StudentInfoes = new List<StudentInfo>();
        }

        public string OrderNumber { get; set; }
        public string OrderUserName { get; set; }
        public string ServiceUserName { get; set; }
        public int ServiceInfoId { get; set; }
        public string ServiceTitle { get; set; }
        public decimal TotalPrice { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public string ContactedMan { get; set; }
        public System.DateTime AppointmentDate { get; set; }
        public int PaymentStatus { get; set; }
        public string Address { get; set; }
        public int UnitCount { get; set; }
        public Nullable<System.DateTime> CooperationStartTime { get; set; }
        public Nullable<System.DateTime> CooperationEndTime { get; set; }
        public string Remark { get; set; }
        public int status { get; set; }
        public System.DateTime OrderTime { get; set; }
        public Nullable<DateTime> OrderConfirmDate { get; set; }
        public byte[] LastModified { get; set; }
        public System.DateTime CreateTime { get; set; }
        public virtual ICollection<CreditLine> CreditLines { get; set; }
        public virtual ServiceInfo ServiceInfo { get; set; }
        public virtual OrderRemind OrderRemind { get; set; }
        public virtual ICollection<StudentInfo> StudentInfoes { get; set; }
    }
}
